package com.mentaleye.service;

import java.util.List;

import com.mentaleye.bean.RolePersonBean;
import com.mentaleye.util.CommonPage;

public interface RolePersonService {

	public boolean addRolePerson(RolePersonBean rolePersonBean);
	
	public boolean addRolePersonList(List<RolePersonBean> rolePersonBeanList);
	
	public boolean deleteRolePersonById(Integer rolePersonNo,Integer roleNo,Integer personType);
	
	public boolean deleteRolePersonByList(List<Integer> ids,Integer roleNo);
	
	public List<RolePersonBean> selectRolePerson(Integer rolePersonNo);
	
	public void queryRoleTeacherByPage(CommonPage commonPage);
}
